<!DOCTYPE html>
<html>
<#include "../head.html">
    <body class="full">
    <div class="mc">
        <div class="mc-l">
            <!--左侧导航---{-->
            <div id="navPanelContainer">
                <div class="system-logo cd"></div>
                <!--管理员信息---{-->
                <#include "../adminInfo.html">
                    <!--管理员信息---}-->
                    <div class="nav-wrap">
                        <#include "left.html">
                    </div>
            </div>
            <!--左侧导航---}-->
        </div>
        <div class="mc-m">
            <div class="navToggle"></div>
        </div>
        <div class="mc-r">
            <!--顶部导航---{-->
            <#include "../topNav.html">
                <!--顶部导航---}-->

                <!--面包屑导航---{-->
                <#assign moduleName="逾期">
                    <#include "banner.html">
                        <!--面包屑导航---}-->

                        <!--工具栏--{-->
                        <div id="toolbar" class="clearfix">
                            <#if param?exists>
                                <#if param.get("username")?exists><#assign username=param.get("username")></#if>
                                <#if param.get("keywords")?exists><#assign keywords=param.get("keywords")></#if>
                            </#if>
                            <div class="toolbor-module search">
                                <!-- <input type="text" name="username" id="username" value="请输入用户名" class="search-value"> -->
                                <input type="text" name="keywords" id="keywords" value="请输入关键字" class="search-value">

                                <input type="button" value="搜索"  class="input-button" onclick="sousuo();">
                            </div>
                        </div>
                        <!--工具栏--}-->

                        <div id="main" class="clearfix">
                            <form action="" method="post">
                                <table class="data-list">
                                    <tr class="header">
                                        <td>ID</td>
                                        <td>借款人</td>
                                        <td>借款标的名称</td>
                                        <td>期数</td>
                                        <td>应还时间</td>
                                        <td>逾期天数</td>
                                        <td>逾期利息</td>
                                        <td>垫付处理时间</td>
                                        <td>还款金额</td>
                                        <td>操作</td>
                                    </tr>
                                    <#list list as item>
                                        <tr>
                                            <td>${item.id?c}</td>
                                            <td>${item.borrow.user.showName}</td>
                                            <td>${item.borrow.name}</td>
                                            <td>第${item.period+1}期/共<#if item.borrow.type==110>1<#else>${item.allPeriod}</#if>期</td>
                                            <td>${item.repaymentTime}</td>
                                            <td>${item.lateDays}天</td>
                                            <td>${item.lateInterest}元</td>
                                            <td>${item.borrow.repayDay}天</td>
                                            <td>${item.repaymentAccount}元</td>
                                            <td><a class="un" href="/admin/borrow/viewWebSitePay.html?repayMentId=${item.id?c}"><font color="#006600">垫付</font></a></td
                                        </tr>
                                    </#list>
                                </table>
                            </form>

                            <!--底部工具栏--{-->
                            <div id="bottomToolbar" class="clearfix">
                                <div class="other-tool">
                                    <dl class="refresh-data">
                                        <dt class="refresh-data-icon"></dt>
                                        <dd><a href="javascript:void(0);" class="refresh-page">刷新数据</a></dd>
                                    </dl>
                                </div>

                                <!--翻页系统--{-->
                                <div class="container s_formPage">
                                    <#import "../../common/page.html" as pager>
                                        <@pager.pagination page=page url="${pageUrl}" map=param style="style1" />
                                </div>
                                <!--翻页系统--}-->
                            </div>
                            <!--底部工具栏--}-->

                            <script>

                                var urls = 'late.html?search=true';
                                function sousuo(){
                                    var sou = "";
                                    /*   var username = $("#username").val();
                                      if (username!=""&&username!="请输入用户名"){
                                          sou += "&username="+username;
                                      } */
                                    var keywords = $("#keywords").val();
                                    if (keywords!=""&&keywords!="请输入关键字"){
                                        sou += "&keywords="+keywords;
                                    }
                                    location.href=urls+sou;
                                }
                            </script>
                        </div>
        </div>
    </div>
    <div class="mc-b"><#include "../foot.html"></div>
    <#include "../jsPage.html">
    </body>
</html>

